Bar Plot Seaborn with No Error Bars

34

import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline


df = sns.load_dataset('titanic')

# Usual case
sns.barplot(x='class',y='age',hue='survived',data=df)

# No error bars (ci=None)
sns.barplot(x='class',y='age',hue='survived',data=df,ci=None)

plt.show ()

Comments

Submit
0 Comments